home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Files
/
Directories
/
AllocationBlock.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
506b
|
27 lines
// AllocationBlock.h
#ifndef AllocationBlock_h
#define AllocationBlock_h
#ifndef Integers_h
#include "Integers.h"
#endif
class AllocationBlock
{
private:
uint32 block; // wishful thinking or HFS+?
public:
explicit AllocationBlock( uint32 value )
: block( value )
{}
uint32 Block() const { return block; }
bool operator==( AllocationBlock f ) const { return block == f.block; }
bool operator!=( AllocationBlock f ) const { return block != f.block; }
};
#endif